<template>
  <div>
    <el-radio v-for="(item, index) in radioList" v-model="dataForm[attrName]" v-removeAriaHidden
              :border="radioBorder" :label="item.label"
              :disabled="disabled"
              :key="index" @change="changedCallback">{{ item.text }}
    </el-radio>
  </div>
</template>

<script>
import basicMixins from './basicMixins'

export default {
  name: 'normalRadio',
  mixins: [basicMixins],
  props: {
    disabled: {
      type: Boolean,
      default: false
    },
    radioList: {
      type: Array
    },
    radioBorder: {
      type: Boolean
    },
    changedCallback: {
      type: Function,
      default: () => {
      }
    }
  }
}
</script>

<style scoped>

</style>
